<form class="form-horizontal" action="<?php echo base_url(); ?>/index.php/mahasiswa/update" method="POST">
    <?php foreach ($mahasiswa as $mhs): ?>
        <div class="control-group">
            <label class="control-label" for="id">ID :</label>
            <div class="controls">
                <input type="text" class="input-xlarge" id="id" value="<?php echo $mhs->id; ?>" name="id" readonly="readonly">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="hari_id">HARI ID :</label>
            <div class="controls">
                <input type="text" class="input-xlarge" id="hari_id" name="hari_id" value="<?php echo $mhs->hari_id; ?>">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="jam_id">JAM ID :</label>
            <div class="controls">
                <input type="text" class="input-xlarge" id="jam_id" name="jam_id" value="<?php echo $mhs->jam_id; ?>" name="jam_id">
            </div>
        </div>
        <div class="control-group">
                <label class="control-label" for="mapel_id">MAPEL ID :</label>
                <div class="controls">
                    <input type="text" class="input-xlarge" id="mapel_id" name="mapel_id" value="<?php echo $mhs->mapel_id; ?>" name="mapel_id">
                </div>
            </div>
        <div class="control-group">
                <label class="control-label" for="user_id">USER ID :</label>
                <div class="controls">
                    <input type="text" class="input-xlarge" id="user_id" name="user_id" value="<?php echo $mhs->user_id; ?>" name="user_id">
                </div>
            </div>
        <div class="control-group">
                <label class="control-label" for="semester_id">SEMESTER ID :</label>
                <div class="controls">
                    <input type="text" class="input-xlarge" id="semester_id" name="semester_id" value="<?php echo $mhs->semester_id; ?>" name="semester_id">
                </div>
            </div>
        <div class="control-group">
                <label class="control-label" for="tahun_ajaran_id">TAHUN AJARAN ID :</label>
                <div class="controls">
                    <input type="text" class="input-xlarge" id="tahun_ajaran_id" name="tahun_ajaran_id" value="<?php echo $mhs->tahun_ajaran_id; ?>" name="tahun_ajaran_id">
                </div>
            </div>
        <div class="control-group">
            <div class="controls"><button class="btn btn-info"><i class="icon-white icon-check"></i> Simpan</button></div>
        </div>
    <?php endforeach; ?>
</form>